package model;

import java.sql.Date;
import java.util.Set;

public class Trade {

	private long id;
	
	private String title;
	
	private int highPrice;
	
	private int lowPrice;
	
	private int mode;
	
	private String state;
	
	private Date date;
	
	private Customer owner;
	
	private Category category;
	
	private Set beCollected;

	private Set solution;
	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public int getHighPrice() {
		return highPrice;
	}

	public void setHighPrice(int highPrice) {
		this.highPrice = highPrice;
	}

	public int getLowPrice() {
		return lowPrice;
	}

	public void setLowPrice(int lowPrice) {
		this.lowPrice = lowPrice;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getMode() {
		return mode;
	}

	public void setMode(int mode) {
		this.mode = mode;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Customer getOwner() {
		return owner;
	}

	public void setOwner(Customer owner) {
		this.owner = owner;
	}

	public Category getCategory() {
		return category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public Set getBeCollected() {
		return beCollected;
	}

	public void setBeCollected(Set beCollected) {
		this.beCollected = beCollected;
	}

	public Set getSolution() {
		return solution;
	}

	public void setSolution(Set solution) {
		this.solution = solution;
	}

	public Trade(){}
	
	public Trade(Customer owner){
		this.owner = owner;
	}
}
